$(document).ready(function() {
    $('body').on('click', '.logout', function(e) {
    	window.location.replace("logout.jsp");
    });
    $('body').on('click', '.showUsers', function(e) {
    	window.location.replace("UserListController");
    });
    $('body').on('click', '.addUser', function(e) {
    	window.location.replace("AddUserController");
    	$('.addUser').dropdown('toggle');
    });
    $('body').on('click', '.editCameras', function(e) {
    	window.location.replace("CameraListController");
    	$('.editCameras').dropdown('toggle');
    });
    $('body').on('click', '.cameraFilter', function(e) {
    	window.location.replace("PictureListController");
    	$('.cameraFilter').dropdown('toggle');
    });   
});